package com.qianyitian.hope2.analyzer.config;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

@Service
public class TokenService {
    private Logger logger = LoggerFactory.getLogger(getClass());

    public Long getUserId() {
        return UserContext.getUserId();
    }

    public String getUserName() {
        return UserContext.getUserName();
    }
}
